package com.yueya.basic.user.model;

import com.jfinal.plugin.activerecord.Model;

/**
 * UserBase model.
 */
public class UserBase extends Model<UserBase> {

	private static final long serialVersionUID = 1L;
	public static final UserBase dao = new UserBase();

	public UserBase findByUserId(String userId) {
		String sql = "select * from t_user_base where user_id = '" + userId + "'";
		UserBase ue = dao.findFirst(sql);
		return ue;
	}

}